package com.example._04interceptor.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/v1/user")
public class UserController {
    @GetMapping("login")
    public String login(){return "login success";}
    @GetMapping("reg")
    public String reg(){return "reg success";}
    @GetMapping("logout")
    public String logout(){return "logout success";}
}